package it.unibo.deis.lia.mmhc.fnm;

//Classe degli oggetti base estesa dagli altri oggetti
import java.io.Serializable;

public class MessageObject implements Serializable {

	private int hopToLive;

	private Object ogg;

	public MessageObject(int hopToLive, Object ogg) {
		super();
		this.hopToLive = hopToLive;
		this.ogg = ogg;
	}

	public int getHopToLive() {
		return hopToLive;
	}

	public void setHopToLive(int hopToLive) {
		this.hopToLive = hopToLive;
	}

	public Object getOgg() {
		return ogg;
	}

	public void setOgg(Object ogg) {
		this.ogg = ogg;
	}

}
